#ifndef GAME_H
#define GAME_H

#define MaxPlayer 5
#define MaxRoundPic	3

class CPlayer
{
public:
	bool InTurn;

	bool PriceInputable;
	bool ConfirmInputable;
	bool CancelInputable;
	int WaitInput;

	int Money;
	int Bid;

	bool Passed;

	CCardSet PicInHand;
	CCardSet PicBought;

public:
	CPlayer() : Money(100), Bid(0) {}

	CCardSet::iterator HasCard(CCard::T_CardIndex cardid)
	{
		CCardSet::iterator it = PicInHand.FindByIndex(cardid);

		return it;
	}
};



class CGame
{
public:
	bool Init;
	int PlayerNumber;
	int Round;
	unsigned char RoundPicNum[4][5];
	CPlayer Player[5];
	CGame() : PlayerNumber(5), Init(0) {}

};













#endif